<?php

include_once($_SERVER["DOCUMENT_ROOT"]."/home/header.php");


$id=isset($_GET['id'])?$_GET['id']:1;

$arr = selec($config,'tupian',"where id={$id}")[0];

?>


<div id="templatemo_right_column">
        
        <div id="templatemo_main">
        
            <div class="post_section">
            
                <span class="comment"><a href="fullpost.html">256</a></span>
            
                <h2 name="title"><?php  echo $arr['title']?></h2>
    
                <strong name="ctime"><?php  echo date('Y-m-d H:i:s',$arr['ctime'])?>
                </strong>  | 
                <strong>类型:</strong> <a href="#">免费赠品</a>
                
                <a href="#" name="pic"><img src="<?php  echo $arr['pic']?>" alt="image" style='width:420px; height:150px;'/></a>
                <p name="content"><?php  echo $arr['miaoshu']?></p>
                
          </div>
            
           
      <div id="comment_section">

                <ol class="comments first_level">
                    <?php  echo $arr['xiangqin']?>
                </ol>
      </div>
                
      <div id="comment_form"></div>
            
      </div> <!-- end of main -->
    
  <div class="cleaner"></div>
  </div> 
    <!-- end of templatemo_main -->


<?php
include_once($_SERVER["DOCUMENT_ROOT"]."/home/footer.php");
 
?>